using FreeSql;
using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace BootstrapBlazorApp.Server.Data;
[Description("用户表")]
public class User:BaseEntity<User,int>
{
    [Description("用户名")]
    public string UserName { get; set; }
    [Description("密码")]
    public string Password { get; set; }
    [Description("昵称")]
    public string? NickName { get; set; }
    [Description("头像")]
    public string? Avatar { get; set; }
    
    [Description("个人简介")]
    [Column(StringLength = -1)]
    public string? Introduction { get; set; }
}
